package com.gccloud.design.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author guo.wang
 * @date 2021-07-06
 */
@Data
@ApiModel("API能力绑定")
@TableName("sd_api_ability_bind")
@Accessors(chain = true)
public class SdApiAbilityBindEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    /**
     * api的主键
     */
    @ApiModelProperty("api的主键")
    private Long apiId;

    /**
     * api_ability_source（采控、资源、调度等）
     */
    @ApiModelProperty("api_ability_source（采控、资源、调度等）")
    private String apiAbilitySource;

    /**
     * api_ability_url
     */
    @ApiModelProperty("api_ability_url")
    private String apiAbilityUrl;

    /**
     * sharding_id
     */
    @ApiModelProperty("sharding_id")
    private Integer shardingId;

}
